package JLB_Chapter_04;

import java.util.Arrays;

// Displace
public class code_04_08 {
    public static void main(String[] args) {
        int[] arr = new int[] { 45,78,45,78,66,33,11,4,4,4 };
        Arrays.fill(arr,1,4,8);
        for(int i = 0; i < arr.length; i++) {
            System.out.println("第" + i + "个元素是：" + arr[i]);
        }
    }
}
